package com.xjh.t.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author satela
 * @since 2025-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_cart")
public class UserCart implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品id
     */
    private Integer goodsId;

    private Date addTime;

    private Integer goodsCount;

    /**
     * 添加时的单价
     */
    private BigDecimal addPrice;
    /**
     * 添加时供货商的单价
     */
    private BigDecimal addSalerPrice;

}
